<?php
$title = '删除职工';
$this->headTitle($title);
$staff = $this->staff;
?>
<h1><?php echo $this->escapeHtml($title) ?></h1>
<hr>
<p>你确定要删除身份证号
    '<b><?php echo $this->escapeHtml($staff->staff_id); ?></b>' 的职工
    '<b><?php echo $this->escapeHtml($staff->staff_name); ?></b>' 吗?
</p>
<?php
$url = $this->url('staff', array(
    'action' => 'delete',
    'staff_id' => $this->staff_id
));
?>
<form action="<?php echo $url; ?>" method="post">
    <div>
        <input type="hidden" name="id" value="<?php echo $staff->staff_id; ?>"/>
        <input class="btn btn-danger" type="submit" name="del" value="确定"/>
        <input class="btn btn-default" type="submit" name="del" value="取消"/>
    </div>
</form>